package com.project.managementpaltform.entity;

import lombok.Data;

import java.util.Date;


@Data
public class Equipment {

    /**
     * 管理编号
     * */
    private  String ManagementNumber = "";
    /**
     * 设备编号
     * */
    private String EquipmentNumber = "";
    /**
     * 设备名称
     * */
    private String EquipmentName = "";
    /**
     * 规格型号
     * */
    private String ModelNumber = "";
    /**
     * 原值
     * */
    private int OriginalValue = -1;
    /**
     * 组资日期
     * */
    private  String FundingDate = "";
    /**
     * 制造单位
     * */
    private String ManufacturingUnit = "";
    /**
     * 管理分类
     * */
    private String ManagementClassifiction = "";
    /**
     * 设备类型
     * */
    private String EquipmentType = "";
    /**
     * 检定周期
     * */
    private int VerificationPeriod = -1;
    /**
     * 检定单位
     * */
    private String VerificationUnit = "";
    /**
     * 有效期
     * */
    private String TermOfValidity = "";
    /**
     * 状态
     * */
    private String State = "-1";
    /**
     * 出库时间
     * */
    private Date DeliveryTime;
    /**
     * 入库时间
     * */
    private Date StorageTime;
    /**
     * 项目
     * */
    private String Project = "";

    public Equipment withManagementNumber(String ManagementNumber){
        this.setManagementNumber(ManagementNumber);
        return this;
    }

    public Equipment withEquipmentNumber(String EquipmentNumber){
        this.setEquipmentNumber(EquipmentNumber);
        return this;
    }

    public Equipment withEquipmentName(String EquipmentName){
        this.setEquipmentName(EquipmentName);
        return this;
    }

    public Equipment withModelNumber(String ModelNumber){
        this.setModelNumber(ModelNumber);
        return this;
    }

    public Equipment withOriginalValue(int OriginalValue){
        this.setOriginalValue(OriginalValue);
        return this;
    }

    public Equipment withFundingDate(String FundingDate){
        this.setFundingDate(FundingDate);
        return this;
    }

    public Equipment withManufacturingUnit(String ManufacturingUnit){
        this.setManufacturingUnit(ManufacturingUnit);
        return this;
    }

    public Equipment withManagementClassifiction(String ManagementClassifiction){
        this.setManagementClassifiction(ManagementClassifiction);
        return this;
    }

    public Equipment withEquipmentType(String EquipmentType){
        this.setEquipmentType(EquipmentType);
        return this;
    }

    public Equipment withVerificationPeriod(int VerificationPeriod){
        this.setVerificationPeriod(VerificationPeriod);
        return this;
    }

    public Equipment withVerificationUnit(String VerificationUnit){
        this.setVerificationUnit(VerificationUnit);
        return this;
    }

    public Equipment withTermOfValidity(String TermOfValidity){
        this.setTermOfValidity(TermOfValidity);
        return this;
    }

    public Equipment withState(String State){
        this.setState(State);
        return this;
    }

    public Equipment withDeliveryTime(Date DeliveryTime){
        this.setDeliveryTime(DeliveryTime);
        return this;
    }

    public Equipment withStorageTime(Date StorageTime){
        this.setStorageTime(StorageTime);
        return this;
    }

    public Equipment withProject(String Project){
        this.setProject(Project);
        return this;
    }
}
